#!/usr/bin/env python3.0

#By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13,
#we can see that the 6^(th) prime is 13.
#
#What is the 10001^(st) prime number?

from numth import prime_generator

if __name__ == '__main__':
    MAXCOUNT = 10001
    prime = prime_generator()
    for i in range(MAXCOUNT):
        p = next(prime)
    print('Result: {0}'.format(p))
    